module Common;

import DND;

import World;
import S306;

namespace Common
{
	Coor* GetWorldCoor()
	{
		return g_world->GetCoor();
	}

	Vector2 WorldXy2WindowCenter(const Point& xy)
	{
		return g_world->Xy2WindowCenter(xy);
	}


	Node* GetNode(const Point& xy)
	{
		return g_world->GetNode(xy);
	}

	Area* GetArea(size_t uid)
	{
		return g_world->GetArea(uid);
	}


	void OpenPanelRegime(Regime* regime)
	{
		g_s306->OpenPanelRegime(regime);
	}



}

